#include "stdafx.h"
#include "List.h"
#include "Node.h"

class ListTest
{
public:
	int test(void);
};

int ListTest::test()
{
	List <int> Q;
	for(int i=0;i<10;i++){
		cout << "Add:"<< i << endl;
		Q.insert(i);
	}
	cout << "Tam:" << Q.getSize() << endl;
	Q.print();
	Q.print();
	Node<int>* ptr = Q.getHead();
	//for(int i=0;i<Q.getSize();i++){
			//cout << "Q" << i << ":";
			//cout << Q.removeElementAt(i) << endl;
	//}
	/*
	ptr=Q.getTail();
	for(int i=0;i<Q.getSize();i++){
			cout << "Q" << i << ":";
			cout << ptr->getData() << endl;
			ptr=ptr->getPrevious();
	}*/
	return 0;
}